/*

	This file loads data from previous sub-folders to the present sub-folder

*/

cd ${work}

*** FROM 1_DATA
local list "firm_it fire_it import_ipdt income_d cn8_cn8plus_2002_2015"
foreach x of local list {
	copy 1_data\output/`x'.dta 5_reg_analysis\input/`x'.dta, replace
}
	copy 1_data\output\export_ipdt.dta 5_reg_analysis\input\export_raw_ipdt.dta , replace
	
*** FROM 4_REGSAMPLES
local list "sample_it sample_d sample_idt sample_ipt productcodes_p export_ipdt vars_ipt promotion_idt promotion_ipt promotion_it promotion_pdt promotion_product_idt baci_pdt"
foreach x of local list {
	copy 4_reg_variables\output/`x'.dta 5_reg_analysis\input/`x'.dta, replace
}
